using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace Mpi.Common.Controls
{
    public class ToolStripTimeSpanBox : ToolStripControlHost
    {


        public TimeSpanBox TimeSpanBox
        {
            get { return base.Control as TimeSpanBox; }

        }


        public TimeSpan Value
        {
            get { return TimeSpanBox.Value; }
		set { TimeSpanBox.Value = value;}
	}

            public ToolStripTimeSpanBox()
                : base(new TimeSpanBox(), "TimeSpanBox")
            {
                this.TimeSpanBox.DrawInfoLabel = true;
                this.AutoSize = false;
                this.Height = TimeSpanBox.Height;
            }

        }
    }
